<include file="Index:header" />
<div class="pad-10">
  <div class="content-menu ib-a blue line-x">修改信息</div>
  <div class="col-auto">
    <div class="col-1">
      <div class="content pad-6">
	
			<form method="post" action="__URL__/updateadmin" onsubmit=""><!-- Form -->
				<!-- Fieldset -->
			<table width="100%" cellspacing="0" class="table_form">
<tbody>	
					<tr>
						<th>真实姓名:</th><td>
 					 	<input class="mediumfield"  name="truename" type="text" value="{$adminlist['truename']}" /> 
						<span class="field_desc" id="truenamemsg">请填写真实姓名</span>
						<input type="hidden" name="truenamestau" id="truenamestau"  value="failed"/>
					</td>
</tr>
					<tr>
						<th>邮&nbsp;箱:</th><td>
						<input class="mediumfield" id="email" onblur="checkemail()" name="email" type="text" value="{$adminlist['adminemail']}" /> 
						<span class="field_desc" id="emailmsg">请正确填写邮箱</span>
						<input type="hidden" name="emailstau" id="emailstau"  value="failed"/>
					</td>
</tr>
					<tr>
						<th>所属角色:</th><td>
 						<select name="role">
							<option value="{$adminlist.roleid}">{$adminlist.rolename}</option>
							<volist name="rolelist" id="role">
							<option value="{$role.id}">{$role.name}</option>
							</volist>
						</select>
				</td>
</tr>
                    <tr> 
					 <td>
					 </td>
					 <td>
					<input type="hidden" name="id" value="{$adminlist['adminid']}">
					<input class="submit" name="dosubmit" type="submit" value="提交" />
					</td>
					</tr>
				</tbody>
				</table>
			
		</form>
      </div>
    </div>
  </div>
</div>
<script src="__JS__/checkadmin.js" type="text/javascript"></script>
<include file="Public:content_footer" />